<extend name="User/index"/>
<block name="pageContent">
    <ul class="yuyue-con cen-con pagem-con">
        <li class="you">
            <label class="zuo juxi">个人头像</label>
            <div class="genlk center-top" style="background:none;">
                <a href="javascript:;"><h5><img src="<?php echo $user['headimgurl'] ? $user['headimgurl'] : "__IMG__/user/portrait.jpg";?>" alt="头像"></h5></a>
                <!--<a id="photo" <if condition="$user['headimgurl']">style="background-image: url('{$user['headimgurl']}');"</if>></a>-->
            </div>
        </li>
        <li class="you">
            <label class="zuo">电子邮箱</label>
            <div class="genlk">
                {$user.email}
            </div>
        </li>
        <li>
            <label class="zuo">登录名</label>
            <div class="genlk">
                {$user.mobile}
            </div>
        </li>
        <li class="you">
            <label class="zuo">姓名</label>
            <div class="genlk">
                {$user.nickname}
            </div>
        </li>
        <li>
            <label class="zuo">登录时间 </label>
            <div class="genlk">
                {$user.last_login_time|date='Y-m-d',###}
            </div>
        </li>
        <li class="btn"><a href="{:U('detailEdit')}">编辑</a></li>
    </ul>
</block>